package com.easylinkin.sm.constant;

import lombok.experimental.UtilityClass;

/**
 * 角色相关常量
 *
 * @author majintao
 * @since 1.0.0, 2019-08-19-10:00
 */
@UtilityClass
public class RoleConstant {

  @UtilityClass
  public class Data {

    public static final String PRIVILEGEIDS = "privilegeIds";

    public static final String SEPARATOR_COMMA = ",";
  }

  /**
   * 异常消息常量
   */
  @UtilityClass
  public class Error {

    /**
     * 同一机构下角色名称不允许重复
     */
    public static final String ROLE_NAME_REPEAT = "role.name.repeat";
  }
}
